package com.ithjh.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
//代替application.xml的主要结构,且其用于设定当前类为配置类

@ComponentScan({"com.ithjh","com.ithjh.dao"})
//代替<context:component-scan base-package="com.ithjh"></context:component-scan>
//用于设定扫描路径，！！！此注解只能添加一次！！！多个数据应使用数组格式
public class SpringConfig {
}
